Skip to content

Conversation

@hyoban
Copy link
Contributor

@hyoban hyoban commented Mar 9, 2025

nativewind will return different presets in the tailwind vscode plug-in, which will cause the result of the lint and tailwind plug-in to be inconsistent.

node_modules/nativewind/dist/tailwind/index.js

"use strict";
module.exports = Object.assign(() => {
    const isTailwindCSSIntelliSenseMode = "TAILWIND_MODE" in process.env;
    if (isTailwindCSSIntelliSenseMode)
        return require("./native").default;
    return process.env.NATIVEWIND_OS === undefined ||
        process.env.NATIVEWIND_OS === "web"
        ? require("./web").default
        : require("./native").default;
}, {
    nativewind: true,
});
//# sourceMappingURL=index.js.map

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant